<!DOCTYPE html>
<html>
<head>
    <meta charset='utf-8'>
    <title>方德-社交桌面</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="FangDe desktop">
    <link rel="stylesheet" href="css/index.css" />
    <link rel="stylesheet" href="css/emoji.css" />
    <link rel="stylesheet" href="themes/pip_io/css/theme.css" />
    <link rel='stylesheet' href='js/lib/bootstrap-3.3.5/dist/css/bootstrap.css' />
    <link rel="stylesheet" href="css/indexpro.css" />
    <style id="styleCustomResize"></style>
    <script src="js/lib/jquery-1.8.2.min.js"></script>
    <!--<script src="./js/lib/jquery-1.11.3/jquery-1.11.3.js"></script>-->
    <!--<script src="./js/lib/jquery-1.11.3/jquery.rotate.1-1.js" ></script>-->
    <script src="js/lib/special_scroll.js"></script>
    <!--<script src="js/lib/jq.mobi.min.js"></script>-->
    <!--<script src="js/lib/keypress.js"></script>-->
    <script src="js/patch.js"></script>
    <script src="./index.js"></script>
    <!--<script src="js/shortcuts.js"></script>-->
    <!--<script src='bootstrap/js/bootstrap.min.js'></script>-->
    <script>
        var i18n = require('./js/i18n');
        var _u = {
            // 向页面写内容
            w: function (s) {
                document.write(s);
            },
            // 向页面写本地化后的内容
            wi: function (s, e) {
                _u.w(i18n.get(s, e));
            },
            wia: function (sel, attr, s, e) {
                jq(sel).attr(attr, i18n.get(s, e));
            },
        };
    </script>
</head>

<body>
<!--/* <? 转换成 \n\');        ?>转换成  _buf.push('\n\*/  -->
<!--左边栏-->
<section id="nav_pro_containerid" style="position: fixed; width:100px; height: 100%;">
    <div id="navsid" style="width:50px">
        <ul id="nav_pro_selid" class="nav nav-tabs nav-pills nav-stacked nav_left_select list-group" data-show="shown">
            <li role="presentation"><a class="list-group-item-info active" href="index.html">新浪微博</a></li>
            <li role="presentation"><a class="list-group-item-success" href="./index_1.html">人人网</a></li>
            <li role="presentation"><a  class="list-group-item-warning" href="./index_2.html">网易新闻</a></li>
            <li role="presentation"><a  class="list-group-item-danger" href="./index_3.html">我的云盘</a></li>
        </ul>
    </div>
    <div>
        <a id="nav_left_hideid" class="glyphicon glyphicon-menu-left" title="点击显示/隐藏应用切换" style="position:absolute; top:200px; left: 50px; z-index: 1000;"></a>
    </div>
</section>
<!--/* <? 转换成 \n\');        ?>转换成  _buf.push('\n\*/  -->
<div id="wrapper" style="left: 66px;">
    <div id="submitWarp">
        <div class="w" style="text-align:center; margin-top: 10px; height: 140px;">
            <!--<p>&nbsp;&nbsp;&nbsp;&nbsp;说出你的新鲜事</p>-->
            <textarea id="txtContent" onBlur="if(this.innerHTML===''){this.innerHTML='说出你的新鲜事!';this.style.color='#D1D1D1'}" style="width: 98%; COLOR: #d1d1d1" onFocus="if(this.innerHTML==='说出你的新鲜事!'){this.innerHTML='';this.style.color='#000'}">说出你的新鲜事!</textarea>
<!--
            <div class="ctr" style="text-align:left; margin-bottom: 10px;">
                &nbsp;&nbsp;&nbsp;&nbsp(还可以输入
                <span class="wordCount_double">140</span>
                字)
                &nbsp;
                <a id="btnAddEmotional" class="btn btn-inverse ctr_faweibo" title="点击添加表情" data-target="txtContent" style="color: rgba(30, 30, 30, 0.94)">
                    <img src="images/face.gif" />表情
                </a>
                <button id="btnClearText" class="btn btn-inverse ctr_faweibo" style="color: rgba(30, 30, 30, 0.94)">清空</button>
                <input id="btnSend" title="发布微博！ ctrl + enter 发送" type="button" class="btn send" disabled="disabled" value="发布"/>
                <select class="selectpicker btn btn-inverse">
                    <option>公开可见</option>
                    <option>朋友圈可见</option>
                    <option>自己可见</option>
                </select>
            </div>
-->

            <div class="ctr container-fluid" style="text-align:center; margin-top: 5px; height: 140px;">
                <ul class="nav nav-pills">
                    <li><p></p><p style="font-size: 14px; color: rgba(30, 30, 30, 0.94)">(还可以输入
                    <span class="wordCount_double">140</span>
                    字)</p>

                    </li>
                    <li><a id="btnAddEmotional" title="点击添加表情" data-target="txtContent" style="color: rgba(30, 30, 30, 0.94)">
                        <img src="images/face.gif" />表情</a>
                    </li>
                    <li><a id="btnClearText" style="color: rgba(30, 30, 30, 0.94)">清空</a></li>
                    <li>
                        <select class="selectpicker btn btn-inverse" style="color: rgba(30, 30, 30, 0.94)">
                        <option>公开可见</option>
                        <option>朋友圈可见</option>
                        <option>自己可见</option>
                        </select>
                    </li>
                </ul>
                <input id="btnSend" title="发布微博！" type="button" class="btn send" style="margin-top: 5px;" disabled="disabled" value="发布"/>

            </div>
        </div>
    </div><!-- submitWarp END 写微博部分-->
    <div class="warp">
<!--
        <div style="position:absolute; height: 100%; width:10px; background: #FFF;">
        <a></a>
        </div>
-->
        <div id='friends_timeline_timeline' class="list_p" >
            <div class="list_warp">
                <ul class="list"></ul>
                <div id="friends_timeline_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>
        <div id="mentions_timeline" class="list_p" style="display:none;">
            <div class="list_warp">
                <ul class="list"></ul>
                <div id="mentions_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>
        <div id="comments_mentions_timeline" class="list_p" style="display:none;">
            <div class="list_warp">
                <ul class="list"></ul>
                <div id="comments_mentions_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>
        <div id="comments_timeline_timeline" class="list_p" style="display:none;">
            <div class="list_warp">
                <ul class="list"></ul>
                <div id="comments_timeline_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>
        <div id='favorites_timeline' class="list_p" style="display:none;">
            <div class="list_warp">
                <ul class="list"></ul>
                <div id="favorites_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>
        <div id="followers_timeline" class="list_p" style="display:none;">
            <div class="list_warp">
                <div id="fans_tab" class="tab2">
                    <p>
                        <span class="tab_friends" t="friends"><font>我的</font>关注</span>
                        <span class="active tab_followers" t="followers"><font>我的</font>粉丝</span>
                    </p>
                </div>
                <ul class="list"></ul>
                <div id="followers_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>
        <div id="user_timeline_timeline" class="list_p" style="display:none;">
            <div class="list_warp">
                <ul class="list"></ul>
                <div id="user_timeline_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>
        <div id="user_hot_timeline" class="list_p" style="display:none;">
            <div class="list_warp">
                <ul class="list"></ul>
                <div id="user_timeline_rm_loading" class="readmore_loading"><img src="images/loading_s.gif" /></div>
            </div>
        </div>

        <div id="accountListDock">
            <ul></ul>
        </div><!-- accountListDock END -->

        <span id="gototop" title="返回顶部" class="gototop" title="返回顶部"><img src="images/go_to_top.png" /></span>

    </div><!-- div.wrap END 显示微博的主页面部分，主要的信息box在该部分-->

    <!-- 表情选择 -->
    <div id="face_box" class="layerBox" style="display:none;">
        <div class="layerBoxCon1">
            <div class="faceItem clearFix">
                <div class="layerArrow"></div>
                <div class="face_tab tab2">
                    <p>
                        <a id="btnFaceBoxClose" title="关闭" class="close"></a>
                    </p>
                </div>
                <div class="faceItemPicbg">
                </div>
            </div>
        </div>
    </div>
    <input id="face_box_target_id" type="hidden" value="" />
    <!-- 表情选择 End -->
</div><!-- wrapper END -->

<!--右边栏-->
    <section id="nav_right" class="nav_right_select tabs" style="position: absolute; margin: 0; text-align: center; border: 0px solid #000; border-radius: 0px; padding: 0px; top: 0px; right: 0; width:65px; height: 100%;">
        <!--afdefa bce8e1-->
<!--        <div id="userinfo" style="position:absolute; top: 10px; left: 5px; margin-bottom: 10px;">
            <a class="info-detail" title="" href="#"><img class="icon" src="images/1.gif" /><img class="bt" src="images/1.gif" /></a>
        </div>
        <div style="position: absolute; top: 80px; left: 0px; margin-bottom: 0px;">
            <a class="tab-friends_timeline timeline_tab btn btn-info_t" data-type="friends_timeline" href="#friends_timeline_timeline">首页<span class="unreadCount"></span></a>
        </div>
        <div style="position: absolute; top: 110px; left: 0px; margin-bottom: 0px">
            <a class="tab-mentions timeline_tab btn btn-info_t " data-type="mentions" href="#mentions_timeline">@我<span class="unreadCount"></span></a>
        </div>
        <div style="position: absolute; top: 140px; left: 0px; margin-bottom: 0px">
            <a class="tab-comments_mentions timeline_tab btn btn-info_t" data-type="comments_mentions" href="#comments_mentions_timeline">@评<span class="unreadCount"></span></a>
        </div>
        <div style="position: absolute; top: 170px; left: 0px; margin-bottom: 0px">
            <a class="tab-comments_timeline timeline_tab btn btn-info_t" data-type="comments_timeline" href="#comments_timeline_timeline">评论<span class="unreadCount"></span></a>
        </div>
        <div style="position: absolute; top: 200px; left: 0px; margin-bottom: 0px">
            <a class="tab-favorites only_click timeline_tab btn btn-info_t" data-type="favorites" href="#favorites_timeline">收藏<span class="unreadCount"></span></a>
        </div>
        <div style="position: absolute; top: 230px; left: 0px; margin-bottom: 0px">
            <a class="tab-user_timeline only_click timeline_tab btn btn-info_t" data-type="user_timeline" href="#user_timeline_timeline">微博<span class="unreadCount"></span></a>
        </div>
        <div style="position: absolute; top: 260px; left: 0px; margin-bottom: 0px">
            <a id="show_status_input" class="btn btn-info_t" href="javascript:void(0);">发微</a>
        </div>
        <div style="position: absolute; top: 290px; left: 0px; margin-bottom: 0px">
            <span id="loading"><img src="images/loader.gif" /></span>
        </div>
        <div style="margin-bottom: 10px"></div>-->
        <div id="userinfo" style="position:absolute; top: 10px; left: 10px; margin-bottom: 15px;">
            <a class="info-detail" title="" href="#"><img class="icon" src="images/1.gif" /><img class="bt" src="images/1.gif" /></a>
        </div>
        <div class="row list-group" style="position: absolute; top: 80px; left: 15px;">
                <a style="width: 65px;" class="tab-friends_timeline timeline_tab  list-group-item" data-type="friends_timeline" href="#friends_timeline_timeline">首页<span class="unreadCount"></span></a>
                <a class="tab-mentions timeline_tab  list-group-item" data-type="mentions" href="#mentions_timeline">@我<span class="unreadCount"></span></a>
                <a class="tab-comments_mentions timeline_tab  list-group-item" data-type="comments_mentions" href="#comments_mentions_timeline">@评<span class="unreadCount"></span></a>
                <a class="tab-comments_timeline timeline_tab  list-group-item" data-type="comments_timeline" href="#comments_timeline_timeline">评论<span class="unreadCount"></span></a>
                <a class="tab-favorites only_click timeline_tab list-group-item" data-type="favorites" href="#favorites_timeline">收藏<span class="unreadCount"></span></a>
                <a class="tab-user_timeline only_click timeline_tab list-group-item" data-type="user_timeline" href="#user_timeline_timeline">微博<span class="unreadCount"></span></a>
                <a class="tab-user_hot only_click timeline_tab list-group-item" data-type="user_hot" href="#user_hot_timeline">热门<span class="unreadCount"></span></a>
                <a id="show_status_input" class="list-group-item btn_faweibo" href="javascript:void(0);">发微</a>
        </div>
        <div style="position: absolute; top: 420px; left: 5px; margin-bottom: 0px">
            <span id="loading"><img src="images/loader.gif" /></span>
        </div>
        <div style="margin-bottom: 10px"></div>
    </section>

        <div id="ye_dialog_window" >
            <a title="关闭 Close" href="javascript:void(0);" class="close_dialog" id="ye_dialog_close"></a>
            <div id="ye_dialog_title"></div>
            <div id="ye_dialog_body" >
                <div class="replyDialog">
                    <textarea class="uTextarea" id="replyTextarea"></textarea><br/>
              <span id="replyInputCount" class="conTinge">
                (还可以输入
                <span class="wordCount_double">140</span>
                字)
              </span>

                    <a id="btnAddReplyEmotional" title="点击添加表情" data-target="replyTextarea">
                        <img src="images/face.gif" />表情
                    </a>
                    <p>
                        <input type="checkbox" id="chk_sendOneMore" />
                        <label for="chk_sendOneMore" id="txt_sendOneMore"></label><br/>
                        <input type="checkbox" id="chk_sendOneMore2" />
                        <label for="chk_sendOneMore2" id="txt_sendOneMore2"></label><br/>
                    </p>
                    <button id="replySubmit" title="ctrl + enter 发送" type="button" title="按 ctrl + enter 发送" class="send btn" style="float: right;">发微！</button>
                    <a href="javascript:void(0);" class="close_dialog" style="float: right; color: #99a8bb; margin-right: 20px; margin-top: 5px; font-size: 10px;">关闭</a>
                </div>
            </div>
            <input type="hidden" id="actionType" value="" />
            <input type="hidden" id="replyTweetId" value="" />
            <input type="hidden" id="replyUserName" value="" />
            <input type="hidden" id="replyUserId" value="" />
            <input type="hidden" id="whisperToUserId" value="" />
            <input type="hidden" id="repostTweetId" value="" />
            <input type="hidden" id="commentUserId" value="" />
            <input type="hidden" id="commentTweetId" value="" />
            <input type="hidden" id="commentCommentId" value="" /><!-- 回复的评论ID -->
</div><!--这个是转发，评论输入文字的小窗口的小窗口-->

<div id="msgInfoWarp"></div>

<!-- 上传图片预览 -->
<div id="upImgPreview" class="upload_image_preview">
    <img class="arrow" src="images/layerArrow.gif" />
    <a class="close" href="javascript:window.imgForUpload = null; $('#upImgPreview').hide(); $('#txtContent').focus();" title="Close"></a>
    <div class="img"></div>
    <div class="loading_bar"><div><span></span></div></div>
</div>
<div id="upImgPreview_reply" class="upload_image_preview">
    <img class="arrow" src="images/layerArrow.gif" />
    <a class="close"
       href="javascript:window.imgForUpload_reply = null; $('#upImgPreview_reply').hide(); countReplyText();"
       title="Close"></a>
    <div class="img"></div>
    <div class="loading_bar"><div><span></span></div></div>
</div>

<!-- 模板选择 -->
<script id="tp_time_line" type="text/template">

    <li style="margin-top: 5px; margin-left: 0px; margin-right: 5px;" class="list-group-item tweetItem showCounts_#{tweet.id} <?js if (!tweet.readed) { ?>unread-item<?js } ?> <?js if (tweet.myTweet) { ?>myTweet<?js } ?> " id="tweet#{tweet.id}"
        data-id="#{tweet.id}" data-timestamp="#{tweet.timestamp || ''}"
        data-uid="#{tweet.user.id}" data-screen_name="#{tweet.user.screen_name}">

        <div>
            <div class="usericon">
                <span class="showtip">
                <a class="user_head user_link" data-uid="#{user.id}" rhref="#{user.t_url}">
                    <img src="#{ user.profile_image_url }" />
                </a>
                #{buildTipboxUserInfo(user, show_fullname)}
                </span>
            </div>
            <div class="mainContent commentWrap">
                <span class="arrow_r"></span>
                <div class="userName">
                    <a class="user_link" data-uid="#{user.id}" rhref="#{user.t_url}" title="#{getUserCountsInfo(user)}">
                        #{user.screen_name}<?js if (user.verified) { ?><img title="认证用户"
                                                                            src="images/verified#{user.verified_type && user.verified_type > 0 ? '_blue.png' : '.gif'}" /><?js } ?>
                    </a>
                    <?js if (show_fullname) { ?><span class="fullname">#{user.name}</span> <?js } ?>
      <span style="float: right">
        <?js if (tweet.related_dialogue_url) { ?>
          <a href="#{tweet.related_dialogue_url}" title="#{_u.i18n('comm_show_related_dialogue')}" target="_blank"><img src="images/inreply.png" /></a>
          <?js } ?>
          #{ btn.addFavoritesMsgBtn + btn.delFavoritesMsgBtn + (tweet.favorite_count ? '<span class="commentCounts">(' + tweet.favorite_count + ')</span>' : '')  + btn.repostBtn + btn.repostCounts + btn.commentBtn + btn.commentCounts }
      </span>
                </div>
                <div class="msg">
                    <div class="tweet">
                        <div class="tweet_text">
                            #{processMsg(tweet)}
                            <?js if (tweet.crosspostSource) { ?>
                            <a target="_blank" href="#{tweet.crosspostSource}" title="查看原文">查看原文</a>
                            <?js } ?>
                        </div>

                        <?js if (tweet.thumbnail_pic) { ?>
                        <div>
                            <?js
                              var pics = [];
                              if (!Array.isArray(tweet.thumbnail_pic)) {
                                pics = [[tweet.thumbnail_pic, tweet.bmiddle_pic, tweet.original_pic]];
                              } else {
                                for (var i = 0; i < tweet.thumbnail_pic.length; i++) {
                                  pics.push([tweet.thumbnail_pic[i], tweet.bmiddle_pic[i], tweet.original_pic[i]]);
                                }
                              }
                              for (var i = 0; i < pics.length; i++) {
                                var pic = pics[i];
                                ?>
                            <a target="_blank" href="javascript:void(0);" bmiddle="#{pic[1]}"
                               original="#{pic[2]}" title="右键点击打开原图"
                            class="thumbnail_pic" >
                            <img class="imgicon pic" src="#{pic[0]}" />
                            </a>
                            <?js } ?>
                        </div>
                        <?js } ?>

                        <?js if (tweet.retweet_me || tweet.retweet_user) { ?>
                        <div class="retweet_info">由 <?js if(tweet.retweet_me){ ?>
                            <a target="_blank" data-uid="#{tweet.retweet_me.id}" class="user_link"
                               rhref="#{tweet.retweet_me.t_url}">
                                #{tweet.retweet_me.screen_name}<?js if (tweet.retweet_me.verified) { ?><img title="认证用户" src="images/verified#{tweet.retweet_me.verified_type && tweet.retweet_me.verified_type > 0 ? '_blue.png' : '.gif'}" /><?js } ?>
                            </a>
                            <?js if (show_fullname) { ?><span class="fullname">#{tweet.retweet_me.name}</span> <?js } ?>
                            <?js } ?>
                            <?js if (tweet.retweet_user) { ?>
                            <?js if (tweet.retweet_me) { ?>、<?js } ?>
                            <a target="_blank" data-uid="#{tweet.retweet_user.id}" class="user_link"
                               rhref="#{tweet.retweet_user.t_url}">
                                #{tweet.retweet_user.screen_name}<?js if (tweet.retweet_user.verified) { ?><img title="认证用户" src="images/verified#{tweet.retweet_user.verified_type && tweet.retweet_user.verified_type > 0 ? '_blue.png' : '.gif'}" /><?js } ?>
                            </a>
                            <?js if (show_fullname) { ?><span class="fullname">#{tweet.retweet_user.name}</span> <?js } ?>
                            <?js } ?> 等转发</div>
                        <?js } ?>
                    </div>
                    <?js if (tweet.retweeted_status && tweet.retweeted_status.text) { ?>
                    <!-- 转发 -->
                    <!-- {{retweeted_status_in}} -->
                    <!-- 转发 End -->
                    <?js } ?>
                </div>
                <div class="comments" data-id="#{tweet.id}">
                    <p class="text_right">
                        <a href="javascript:void(0);" class="comment_hide_list_btn">隐藏列表</a>
                    </p>
                    <ul class="comment_list">

                    </ul>
                    <div class="comment_paging">
                        <a class="pre_page" href="javascript:void(0);">#{_u.i18n("btn_prev_page")}</a>
                        <a class="next_page" href="javascript:void(0);">#{_u.i18n("btn_next_page")}</a>
                    </div>
                    <br />
                </div>
                <?js if (tweet.created_at) { ?>
                <div class="msgInfo">
                    <?js if (tweet.t_url) { ?>
                    <a data-href="#{tweet.t_url}">#{tweet.created_at}</a>
                    <?js } else { ?>
                    #{tweet.created_at}
                    <?js } ?>
                    通过 #{(tweet.source || "网站").replace('href=', 'data-href=')}
                    <?js if (!tweet.retweeted_status && tweet.in_reply_to_status_id && tweet.in_reply_to_screen_name) { ?>
                    <a href="javascript:void(0);" class="show_source_status_btn" status_id="#{tweet.in_reply_to_status_id}"
                       title="查看原信息">#{_u.i18n("btn_show_source_status", [tweet.in_reply_to_screen_name])}</a>
                    <?js } ?>
                    <!-- 提示私信是回复给谁的 -->

                    <?js } ?>
                    <!-- 收藏时间 -->
                </div>
            </div>
        </div> <!-- end .li_wrap -->
        <?js if (tweet.retweeted_status && tweet.retweeted_status.text) { ?>
        <!-- 转发 -->
        <!-- {{retweeted_status_out}} -->
        <!-- {{retweeted_retweeted_status_out}} -->
        <!-- 转发 End -->
        <?js } ?>
    </li>
</script>

<!-- 转发模板（包括评论、@我的所带的原status） -->
<!-- 转发 -->
<script id="tp_time_line_rt" type="text/template">

    <div class="msg rt_msg">
        <div  style="background: #e4edf0; border-radius: 0px; border: 0px;" class="tweetItem retweeted commentWrap showCounts_#{tweet.retweeted_status.id} <?js if (is_rt_rt){ ?>rt_retweeted<?js } ?>" id="tweet#{tweet.retweeted_status.id}"
             data-id="#{tweet.retweeted_status.id}" data-timestamp="#{tweet.retweeted_status.timestamp || ''}">

            <div class="userName">
                <?js if (is_rt_rt) { ?>
      <span class="showtip">
        <a class="user_link" data-uid="#{tweet.user.id}" >
            @#{tweet.user.screen_name}
        </a>
          <?js if (show_fullname) { ?><span class="fullname">#{tweet.user.name}</span> <?js } ?>
      </span>
                <?js } ?>
                <?js if (!is_rt_rt) { ?>
                #{_u.i18n('comm_comment_to_before')}
                <?js } else { ?>
                #{_u.i18n('comm_repost_to_before')}
                <?js } ?>
      <span class="showtip">
        <a target="_blank" data-uid="#{tweet.retweeted_status.user.id}" class="user_link"
           rhref="#{tweet.retweeted_status.user.t_url}">
            @#{tweet.retweeted_status.user.screen_name}<?js if(tweet.retweeted_status.user.verified){ ?><img title="#{_u.i18n('comm_verified')}" src="images/verified#{tweet.retweeted_status.user.verified_type && tweet.retweeted_status.user.verified_type > 0 ? '_blue.png' : '.gif'}" /><?js } ?>
        </a>
          <?js if (show_fullname) { ?><span class="fullname">#{tweet.retweeted_status.user.name}</span> <?js } ?>
      </span>
                #{_u.i18n("comm_repost_to_after")}:
<!--
      <span class="edit">
          #{ btn.rtaddFavoritesMsgBtn + btn.rtdelFavoritesMsgBtn + btn.rtrepostBtn + btn.rtrepostCounts + btn.rtcommentBtn + btn.rtcommentCounts }
      </span>
-->
            </div>

            <div class="tweet_text">#{tweet.retweeted_status.text}
                <?js if (tweet.crosspostSource) { ?>
                <a target="_blank" href="#{tweet.crosspostSource}"
                   title="#{_u.i18n('comm_show_original')}">#{_u.i18n('comm_show_original')}</a>
                <?js } ?>
            </div>
            <?js if (tweet.retweeted_status.thumbnail_pic) { ?>
            <div>
                <a target="_blank" href="javascript:void(0);"
                   bmiddle="#{tweet.retweeted_status.bmiddle_pic}"
                   title="#{_u.i18n("btn_show_original_pic_title")}"
                original="#{tweet.retweeted_status.original_pic}"
                class="thumbnail_pic" >
                <img class="imgicon pic" src="#{tweet.retweeted_status.thumbnail_pic}" /></a>
            </div>
            <?js } ?>

            <!-- {{retweeted_retweeted_status_in}} -->
            <?js if (tweet.retweeted_status.created_at) { ?>
            <div class="msgInfo">
                <?js if (tweet.retweeted_status.t_url) { ?>
                <a data-href="#{tweet.retweeted_status.t_url}">#{tweet.retweeted_status.created_at}</a>
                <?js } else { ?>
                #{tweet.retweeted_status.created_at}
                <?js } ?>
                #{_u.i18n('comm_post_by')} #{(tweet.retweeted_status.source || _u.i18n("comm_web_site")).replace('href=', 'data-href=')}
                <?js if (!tweet.retweeted_status.retweeted_status &&
               tweet.retweeted_status.in_reply_to_status_id &&
               tweet.retweeted_status.in_reply_to_screen_name) { ?>
                <a href="javascript:void(0);" class="show_source_status_btn"
                   status_id="#{tweet.retweeted_status.in_reply_to_status_id}"
                   title="#{_u.i18n('comm_show_original_status')}">
                    #{_u.i18n("btn_show_source_status", [tweet.retweeted_status.in_reply_to_screen_name])}</a>
                <?js } ?>
            </div>
            <?js } ?>
            <div class="comments" data-id="#{tweet.retweeted_status.id}">
                <p class="text_right"><a href="javascript:void(0);" class="comment_hide_list_btn">隐藏列表</a></p>
                <ul class="comment_list"></ul>
                <div class="comment_paging">
                    <a class="pre_page" href="javascript:void(0);">#{_u.i18n("btn_prev_page")}</a>
                    <a class="next_page" href="javascript:void(0);">#{_u.i18n("btn_next_page")}</a>
                </div>
                <br />

            </div>
        </div>

    </div>

</script>
<!-- 转发 End -->

<script id="comment_item" type="text/template">
    <dl class="comment_item" id="comment_#{item.id}">
        <dt>
            <a class="user_link" data-uid="#{item.user.id}" rhref="#{item.user.t_url}">
                <img class="small_head" src="#{item.user.profile_image_url}" alt="#{item.user.screen_name}" />
            </a>
        </dt>
        <dd>
            <a class="user_link" data-uid="#{item.user.id}" rhref="#{item.user.t_url}">@${item.user.screen_name}</a>#{verified}：
            <span class="text">#{text}</span>
            <?js if (isComment) { ?>
    <span class="date">(#{created_at} #{_u.i18n("comm_post_by")}
      #{(item.source || _u.i18n("comm_web_site")).replace('href=', 'data-href=')})</span>
            <?js } else { ?>
    <span class="date">(<a data-href="#{item.t_url}">#{created_at}</a>
      #{_u.i18n("comm_post_by")}
      #{(item.source || _u.i18n("comm_web_site")).replace('href=', 'data-href=')} #{_u.i18n("comm_repost")})</span>
            <?js } ?>
            <div class="info">
                <?js if (isComment) { ?>
                <a class="commenttweet"
                   data-id="#{item.status.id}" data-uid="#{item.status.user.id}" data-screen_name="${item.status.user.screen_name}"
                   data-cid="#{item.id}" data-cuid="#{item.user.id}" data-csn="${item.user.screen_name}"
                   title="#{_u.i18n('btn_reply_comment_title')}">#{_u.i18n("comm_reply")}</a>
                <?js } else { ?>
                <a class="reposttweet" data-id="#{item.id}" data-uid="#{item.user.id}" data-screen_name="${item.user.screen_name}"
                   title="#{_u.i18n('btn_repost_title')}">#{_u.i18n("comm_repost")}</a>
                <i>|</i>
                <a class="commenttweet" data-id="#{item.id}" data-uid="#{item.user.id}" data-screen_name="${item.user.screen_name}"
                   title="#{_u.i18n('btn_comment_title')}">#{_u.i18n("comm_comment")}</a>
                <?js } ?>
            </div>
        </dd>
    </dl>
</script>
<!--用户头像信息模板-->
<script id="tp_tipbox_user_info" type="text/template">

    <div class="tipbox">
        <div>
            <div class="user_head"><img src="#{user.profile_image_url}" /></div>
            <div class="user_info">
                <p><a class="user_link" data-uid="#{user.id}"
                      rhref="#{user.t_url}">#{user.screen_name}
                    <?js if(user.verified){ ?><img title="#{_u.i18n('comm_verified')}"
                                                   src="images/verified#{user.verified_type && user.verified_type > 0 ? '_blue.png' : '.gif'}" /><?js } ?>
                </a>
                    <?js if(show_fullname) { ?><span class="fullname">#{user.name}</span> <?js } ?>
                </p>
                <p>
                    <img class="small_icon sicon_gender_#{user.gender}" src="images/transparent.gif"
                         title="<?js if(user.gender == 'm'){ ?> #{_u.i18n('comm_man')} <?js }else if(user.gender == 'f'){ ?> #{_u.i18n('comm_female')} <?js }else{ ?> #{_u.i18n('comm_gender_unknow')} <?js } ?>" />
                    <?js if(user.province){ ?>
                    #{provinces[user.province] ? provinces[user.province].name : user.province}, #{provinces[user.province] ? provinces[user.province]["citys"][user.city]:user.city}
                    <?js } ?>
                </p>
                <p>#{_u.i18n("comm_follow")}: <span><a href="javascript:void(0);">#{user.friends_count == undefined ? _u.i18n("comm_view"): user.friends_count}</a></span>
                    &nbsp;&nbsp;&nbsp;&nbsp;#{_u.i18n("comm_fans")}: <span><a href="javascript:void(0);">#{user.followers_count == undefined ? _u.i18n("comm_view"): user.followers_count}</a></span>
                    <?js if (user.bi_followers_count !== undefined) { ?>
                    &nbsp;&nbsp;&nbsp;&nbsp;#{_u.i18n("comm_bi_follower")}: <span><a href="javascript:void(0);">#{user.bi_followers_count}</a></span>
                    <?js } ?>
                </p>
                <p>#{_u.i18n("comm_tweet")}:
                    <span><a href="javascript:void(0);" class="user_link" data-uid="#{user.id}">#{user.statuses_count == undefined ? _u.i18n("comm_view"): user.statuses_count}</a></span>
                    <?js if (user.favourites_count !== undefined) { ?>
                    &nbsp;&nbsp;&nbsp;#{_u.i18n("comm_favourite")}: <span><a href="javascript:void(0);">#{user.favourites_count}</a></span>
                    <?js } ?>
                </p>
            </div>
        </div>
        <div class="des">
            <?js if (user.verified_reason) { ?>
            #{_u.i18n("comm_verified_reason")}：#{user.verified_reason}<br/>
            <?js } ?>
            <?js if (user.email) { ?>
            #{_u.i18n("comm_email")}: <a href="mailto:${user.email}">${user.email}</a><br/>
            <?js } ?>
            <?js if (user.homepage) { ?>
            #{_u.i18n("comm_homepage")}: <a href="${user.homepage}">${user.homepage}</a><br/>
            <?js } ?>
            <?js if (user.birthday) { ?>
            #{_u.i18n("comm_birthday")}: ${user.birthday}<br/>
            <?js } ?>
            <?js if (user.description) { ?>
            #{_u.i18n("comm_description")}: ${user.description}<br/>
            <?js } ?>
            <?js if (user.jobs && user.jobs.length > 0) { ?>
            #{_u.i18n("comm_jobs")}: ${user.jobs.join(', ')}<br/>
            <?js } ?>
        </div>
    </div>
</script>

<script>
    var TEMPLATE = $("#tp_time_line").html();/*微博主模板*/
    var TEMPLATE_RT = $("#tp_time_line_rt").html();
    var TEMPLATE_COMMENT_ITEM = $('#comment_item').html();/*转发，评论详细信息模板*/
    var TEMPLATE_TIPBOX_USER_INFO = $("#tp_tipbox_user_info").html();
</script>

</body>
</html>



